package com.xmqian.app.project.ui.user.contract

import com.coszero.common.base.mvp.BaseView

interface RegisterContract {
    interface View : BaseView {
        fun onRegisterSucceed(message: String?)

        fun onRequestFailed(message: String?)

        fun onLoginSucceed(message: String?)
    }

    interface Presenter {
        fun register(mobile: String?, pwd: String?, code: String?)

        fun doLogin(username: String?, pwd: String?)
    }
}
